﻿using Orchard.Data;
using Orchard.ContentManagement.Handlers;
using PmpNetwork.Models;

namespace PmpNetwork.Handlers
{
    public class WikiQuestionPartHandler: ContentHandler
    {
        public WikiQuestionPartHandler(IRepository<WikiQuestionPartRecord> repository)
        {
            Filters.Add(StorageFilter.For(repository));
            Filters.Add(new ActivatingFilter<WikiQuestionPart>("WikiQuestion"));
        }
    }
}